﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Menu.ascx.cs" Inherits="UserControl_Menu" %>


<script type="text/javascript">
    /*
    $(document).ready(function () {

    $("ul#topnav li").hover(function () { //sự kiện khi đưa chuột vào menu
    $(this).css({ 'background': '#565656' }); //Add background color and image on hovered list item
    $(this).find("span").show(); //hiễn thị menu cấp 2
    }, function () { //on hover out...
    $(this).css({ 'background': 'none' });
    $(this).find("span").hide(); //ẩn menu cấp 2
    });

    });
    */
</script>
<div style="width:450px;float:left;height:100%">
    <table cellpadding="0" cellspacing="0" style="height:100%;width:100%">
            <tbody><tr>
            	<td style="background: url(&quot;catalog/view/theme/default/image/bg_menu_left.png&quot;) repeat scroll 0% 0% transparent;" height="100%" width="7px">
               
                </td>
            	<asp:Repeater ID="Repeater1" runat="server" DataSourceID="ObjectDataSource1" 
        onitemdatabound="Repeater1_ItemDataBound">
                <ItemTemplate>
                  <td class="mainmenu_td1" align="center" valign="middle">
                    	 <asp:HyperLink runat="server" ID="hyperMenu" Font-Bold="true"></asp:HyperLink>
                    </td>                         
        </ItemTemplate>
    </asp:Repeater>                          
                
                <td style="background: url(&quot;catalog/view/theme/default/image/bg_menu_right.png&quot;) repeat scroll 0% 0% transparent;" height="100%" width="6px">
               
                </td>
           </tr>
           </tbody></table>
           <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                    SelectMethod="GetVisible" TypeName="BusinessLayer.Menu"></asp:ObjectDataSource>
    </div>